/**
 * 与门(基于内置Nand门构建)
 */
export const AndHDL = {
    model: "And",
    ins: [{
        name: "a",
        next: ["w11"]
    }, {
        name: "b",
        next: ["w12"]
    }],
    outs: [{
        name: "out",
        prev: "w31"
    }],
    wires: [
        "w11", "w12", "w21", "w22", "w31"
    ],
    units: [{
        builtin: true,
        require: "Nand",
        binding: [["a", "w11"], ["b", "w12"], ["out", "w21"], ["out", "w22"]]
    },{
        builtin: true,
        require: "Nand",
        binding: [["a", "w21"], ["b", "w22"], ["out", "w31"]]
    }]
};
